{extend name="./oscshop/admin/view/public/base.html" /}
{block name="content"}
<div class="page-header">
<h1>	
		移动端
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			{$breadcrumb1}
		</small>
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			分享记录
		</small>
	</h1>
</div>	
	
<div class="row">
	<div class="col-xs-12">	
		<div class="table-responsive">
			<table id="table" class="table table-striped table-bordered table-hover">
				<thead>
					<tr>
						
						<th>姓名</th> 
						<th>类型</th>
						<th>分享链接</th> 
						<th>分享时间</th> 
						
					</tr>
				</thead>
				<tbody>
						{volist name="list" id="v" empty="$empty"}
						<tr>		
							<td>{$v.nickname}</td>
							<td>{$v.type}</td>
							<td><a target="_blank" href="{$v.url}">{$v.url}</a></td>							
							<td><?php echo date('Y-m-d H:i:s',$v['create_time']); ?></td>
							
						</tr>
						{/volist}	
						
						<tr>
							<td colspan="20" class="page">{$list->render()}</td>
						</tr>
						<tr>
							<td colspan="20" class="page">总计 {$list->total()|default="0"} 个分享</td>
						</tr>
				</tbody>
				
			</table>
		</div>
	</div>
</div>
{/block}
